package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zds
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Station对象", description="")
public class Station implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "省")
    @TableField("province")
    private String province;

    @ApiModelProperty(value = "市")
    @TableField("city")
    private String city;

    @ApiModelProperty(value = "区")
    @TableField("district")
    private String district;

    @ApiModelProperty(value = "服务范围")
    @TableField("ring")
    private String ring;

    @ApiModelProperty(value = "场所类型")
    @TableField("location_type")
    private String locationType;

    @ApiModelProperty(value = "场所状态")
    @TableField("location_status")
    private String locationStatus;

    @ApiModelProperty(value = "所属网监部门")
    @TableField("network_dept")
    private String networkDept;

    @ApiModelProperty(value = "所属分区")
    @TableField("disvision")
    private String disvision;

    @ApiModelProperty(value = "场所名称")
    @TableField("station_name")
    private String stationName;

    @ApiModelProperty(value = "场所编码")
    @TableField("location_num")
    private Long locationNum;

    @ApiModelProperty(value = "场所地址")
    @TableField("location_address")
    private String locationAddress;

    @ApiModelProperty(value = "邮编")
    @TableField("postcode")
    private Long postcode;

    @ApiModelProperty(value = "派出所")
    @TableField("police_station")
    private String policeStation;

    @ApiModelProperty(value = "人群类型")
    @TableField("people_type")
    private String peopleType;

    @ApiModelProperty(value = "机构编码")
    @TableField("organization_code")
    private Long organizationCode;

    @ApiModelProperty(value = "经度")
    @TableField("longitude")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    @TableField("latitude")
    private Double latitude;

    @ApiModelProperty(value = "是否删除")
    @TableField("is_deleted")
    private Integer isDeleted;


}
